package com.example.wuyeguanli.entiy;

public class Response<T> {
    private String state;
    private String error;
    private T data;

    public Response(String state, String error, T data) {
        this.state = state;
        this.error = error;
        this.data = data;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
